using System;
using System.Text.Json.Serialization;
using UwinEducation.Shared.Converters;

namespace UwinEducation.Shared.Models
{
    /// <summary>
    /// 订单详情分页请求
    /// </summary>
    public class OrderDetailPageRequest : PageRequest
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public Guid? OrderId { get; set; }
        
        /// <summary>
        /// 学生ID
        /// </summary>
        public Guid? StudentId { get; set; }
        
        /// <summary>
        /// 教师课表ID
        /// </summary>
        public Guid? TeacherScheduleId { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        [JsonConverter(typeof(CustomDateTimeConverter))]
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        [JsonConverter(typeof(CustomDateTimeConverter))]
        public DateTime? EndDate { get; set; }
    }
} 